package com.app.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.app.util.ExcelImport;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.*;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_test_failure")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TestFailureModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer number;//序号
    private Integer departmentId;
    private String equipModel;//装备型号
    private String taskName;//任务名称
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") //后端注解格式化日期
    private String questionTime;//问题时间
    private String questionName;//问题名称
    private String questionPhenomenon;//问题现象
    private String questionCause;//问题原因
    private String questionGrade;//问题等级
    private String questionModel;//问题类型
    private String resolutionProgress;//解决进度
    private Integer isUse;//是否需要机关协调解决 0否1是

    @TableField(exist = false)
    private String isUseText;
    @TableField(exist = false)
    private String departmentName;
    private String remark;//备注
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp updateTime;

}
